package org.jsola.hr.web;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.core.io.Resource;
import org.springframework.http.ResponseEntity;

/**
 * @author zhr
 */
@Api(tags = "hr-excel模板相关接口")
public interface IExcelTemplateController {

    /**
     * 下载excel导入模板
     * @param templateName 模板文件名
     * @return 模板文件
     */
    @ApiOperation(value = "下载excel导入模板")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "templateName", value = "模板文件名", dataType = "String", paramType = "param")
    })
    ResponseEntity<Resource> downloadExcelImportTemplate(String templateName);
}
